package orbito.physics.motion;

import java.util.Collection;
import java.util.LinkedList;

import orbito.util.Vec2;

public class DirectedForce extends AbstractForce {
	Actor body;
	Vec2 force;
	
	public DirectedForce(Actor body, Vec2 force) {
		this.body = body;
		this.force = force;
	}
	
	public void applyForces() {
		body.applyForce(force);
	}
	
	public Collection<Actor> getActors() {
		Collection<Actor> actors = new LinkedList<Actor>();
		actors.add(body);
		return actors;
	}
}
